<script>
    console.log({{ec_payment|json}})
</script>
{% if ec_payment.name == 'iframe' %}
    {% include "paypal_iframe",block_id:block_id,action:action %}
{% elsif ec_payment.name == 'starsaasecpay' %}
    {% include "pay_starsaasecpay",block_id:block_id,action:action %}
{% else %}
{% endif %}
